import request from "./request";

// 博客设置相关接口
export const getBlogConfig = () => request.get("/setting/blog-config");

export const updateBlogConfig = (data) =>
  request.put("/setting/blog-config", data);

export const getAbout = () => request.get("/setting/about");

export const updateAbout = (data) => request.put("/setting/about", data);
